import QtQuick 1.0
import QtMultimediaKit 1.1

 Video {
     id: video
     width : 800
     height : 600
     source: "/home/emugwaneza/Vidéos/Babysitters (2007) Dra.avi"

     MouseArea {
         anchors.fill: parent
         onClicked: {
             video.play()
         }
     }

     focus: true
     Keys.onSpacePressed: video.paused = !video.paused
     Keys.onLeftPressed: video.position -= 5000
     Keys.onRightPressed: video.position += 5000
 } 
